const mongoose = require('mongoose');
const { Schema } = mongoose;
//评价

const assessSchame = new Schema({
  id: String,//评价id
  orderId: String,//订单id
  score: Number,//评分
  customer: String,//评价人用户名
  content: String,//评价内容
  date: Date//评价时间
});

const assessModel = mongoose.model('assess',assessSchame);

module.exports = assessModel;